Pass value from filter to anothe filter

Pass value from filter to anothe filter

am 13.05.2009 12:09:53 von Idel Fuschini

--0015174c1422a113200469c86995
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi,

I have this configuration on server:

PerlModule aaaa::bbbb
PerlTransHandler +aaaa::module1

SetHandler modperl
PerlInputFilterHandler aaaa::module2


and I want to pass variable from module1 to module2 is it possible ?
--
Idel
=====================
E-Mail: idel.fuschini@gmail.com
Web Site: http://www.idelfuschini.it
OpenSource Project: http://www.idelfuschini.it/apache-mobile-filter.html

--0015174c1422a113200469c86995
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

I have this configuration on server:
=A0
PerlModule aaaa::=
bbbb
PerlTransHandler +aaaa::module1
<Location /xxx/*>
=A0=
   SetHandler modperl
  =A0 PerlInputFilterHandler aaaa::module2=

</Location>


and I want to pass variable from module1 to module2 is it possible ? >--
Idel
===================3D=
==
E-Mail: idel.fuschini@=
gmail.com

Web Site: http://ww=
w.idelfuschini.it


OpenSource Project: ter.html">http://www.idelfuschini.it/apache-mobile-filter.ht ml


--0015174c1422a113200469c86995--

Re: Pass value from filter to anothe filter

am 13.05.2009 16:03:52 von Adam Prime

Idel Fuschini wrote:
> Hi,
>
> I have this configuration on server:
>
> PerlModule aaaa::bbbb
> PerlTransHandler +aaaa::module1
>
> SetHandler modperl
> PerlInputFilterHandler aaaa::module2
>

>
> and I want to pass variable from module1 to module2 is it possible ?

I think it should be, i would expect you would be able to user
$r->pnotes. It looks like the filters happen after translation based on
this:

http://perl.apache.org/docs/2.0/user/handlers/http.html#HTTP _Request_Cycle_Phases

Adam

Re: Pass value from filter to anothe filter

am 13.05.2009 16:48:52 von William T

On Wed, May 13, 2009 at 3:09 AM, Idel Fuschini wr=
ote:
> PerlModule aaaa::bbbb
> PerlTransHandler +aaaa::module1
>
>   =A0 SetHandler modperl
>   =A0 PerlInputFilterHandler aaaa::module2
>

>
> and I want to pass variable from module1 to module2 is it possible ?

You can you use either pnotes or subprocess_env (env variables).

-wjt

Re: Pass value from filter to anothe filter

am 13.05.2009 16:50:33 von Idel Fuschini

--0015174c1aac64384e0469cc55a1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

And how can I read it the value ?


2009/5/13 William T

> On Wed, May 13, 2009 at 3:09 AM, Idel Fuschini
> wrote:
> > PerlModule aaaa::bbbb
> > PerlTransHandler +aaaa::module1
> >
> > SetHandler modperl
> > PerlInputFilterHandler aaaa::module2
> >

> >
> > and I want to pass variable from module1 to module2 is it possible ?
>
> You can you use either pnotes or subprocess_env (env variables).
>
> -wjt
>



--
Idel
=====================
E-Mail: idel.fuschini@gmail.com
Web Site: http://www.idelfuschini.it
OpenSource Project: http://www.idelfuschini.it/apache-mobile-filter-v2x.html

--0015174c1aac64384e0469cc55a1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

And how can I read it the value ?


200=
9/5/13 William T < om">dietbuddha@gmail.com>
" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0=
..8ex; padding-left: 1ex;">
On Wed, May 13, 2009 at 3:09 AM, Idel Fuschini < f=3D"mailto:idel.fuschini@gmail.com">idel.fuschini@gmail.com> wrote:=


> PerlModule aaaa::bbbb

> PerlTransHandler +aaaa::module1

> <Location /xxx/*>

>   =A0 SetHandler modperl

>   =A0 PerlInputFilterHandler aaaa::module2

> </Location>

>

> and I want to pass variable from module1 to module2 is it possible ? r>


You can you use either pnotes or subprocess_env (env variables).



-wjt




--
Idel
=====3D=
================
E-Mail: to:idel.fuschini@gmail.com">idel.fuschini@gmail.com
Web Site: f=3D"http://www.idelfuschini.it">http://www.idelfuschini.it

OpenSource Project: ter-v2x.html">http://www.idelfuschini.it/apache-mobile-filte r-v2x.html<=
br>


--0015174c1aac64384e0469cc55a1--